package com.yc.qunxing.mapper;

import com.yc.qunxing.entity.DriverLocations;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 鹏哥
 * @since 2024-05-23
 */
public interface DriverLocationsMapper extends BaseMapper<DriverLocations> {

    @Select("SELECT location FROM driver_locations where driver_id=#{id}")
    String getLocationByDriverId(Integer id);
}
